package com.easywork.mystery.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * contacts 实体类
 * Fri Feb 15 15:07:53 CST 2019
 * @Mystery
 */ 
@Entity
@Table(name="contacts")
public class Contacts implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long id;
	private Long userId;
	private Long fri_id;
	private String fri_account;
	private Date createtime;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id=id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId=userId;
	}

	public Long getFri_id() {
		return fri_id;
	}

	public void setFri_id(Long fri_id) {
		this.fri_id=fri_id;
	}

	public String getFri_account() {
		return fri_account;
	}

	public void setFri_account(String fri_account) {
		this.fri_account=fri_account;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime=createtime;
	}

}

